package com.wtc.service;

import com.wtc.dao.UserDao;
import com.wtc.entity.User;

public class UserServiceImpl implements UserService {
    private UserDao dao = null;

    @Override
    public void add(User user) {
        dao.insert(user);
    }

    public UserDao getDao() {
        return dao;
    }

    public void setDao(UserDao dao) {
        this.dao = dao;
    }
}
